﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Student student = new Student();
            Student.Name = "阮灿彬";
            Teacher teacher = new Teacher();
            Program.Class = "软件一班";
            Teacher.Name = "胡哥";
            Student.Age = 20;
            System.Console.WriteLine("名字:{0} 班级:{1} 年龄:{2}", Student.Name, Program.Class, Student.Age);
            System.Console.WriteLine("老师:" + Teacher.Name);
        }
        /// <summary>
        /// 班级
        /// </summary>
        private static string Class { get; set; }

    }
    }


    



